extends Buff


var utils = null

func _init():
	pass

var bySecond = false
func _process(delta):
	if s < 1 :
		s += delta
		if s >= 1 :
			s = 0
			_upS()		
			if bySecond:
				setLv(lv - 1)	
	if isLong == false and not bySecond:
		if bfs < bfsStup :
			bfs += delta * lvPer(lv,1.0,0.03)
			if bfs >= bfsStup:
				bfs = 0
				setLv(lv - 1)
	if lv <= 0 :
		del()


